package org.feng.entity.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.feng.pojo.BaseEntity;

import java.io.Serializable;

/**
 * @author feng
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("sys_job")
@ApiModel("岗位")
public class Job extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "名称")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "标识")
    @TableField("code")
    private String code;

    @ApiModelProperty(value = "排序")
    @TableField("sort")
    private Integer sort;
}
